package com.xxgc.ssm.dao;

import com.xxgc.ssm.po.CommodityCategory;
import com.xxgc.ssm.po.CommodityCategoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @lin yuan hui
 * @date 2021/12/14/10:58
 */
public interface CommodityCategoryMapper {
    long countByExample(CommodityCategoryExample example);

    int deleteByExample(CommodityCategoryExample example);

    int deleteByPrimaryKey(Long ccId);

    int insert(CommodityCategory record);

    int insertSelective(CommodityCategory record);

    List<CommodityCategory> selectByExample(CommodityCategoryExample example);

    CommodityCategory selectByPrimaryKey(Long ccId);

    int updateByExampleSelective(@Param("record") CommodityCategory record, @Param("example") CommodityCategoryExample example);

    int updateByExample(@Param("record") CommodityCategory record, @Param("example") CommodityCategoryExample example);

    int updateByPrimaryKeySelective(CommodityCategory record);

    int updateByPrimaryKey(CommodityCategory record);
}